package com.gugee.ins.common.dal.service.mark.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.mark.InsMarkBrandDayMapper;
import com.gugee.ins.common.dal.service.mark.InsMarkBrandDayDao;
import com.gugee.ins.common.model.mysql.mark.InsMarkBrandDay;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


/**
 * InsMarkBrandDay dao
 * @author Huangxin
 */
@Slf4j
@Service
public class InsMarkBrandDayDaoImpl extends ServiceImpl<InsMarkBrandDayMapper, InsMarkBrandDay> implements InsMarkBrandDayDao {
    /**
     * 插入打点
     * @param bid
     * @param category
     * @param limitTimeStart
     * @param limitTimeEnd
     * @param dateCode
     * @param tableType
     */
    @Override
    public void insertMark(long bid, String category, long limitTimeStart, long limitTimeEnd, int dateCode, int tableType) {
        baseMapper.insertMark(bid,category,limitTimeStart,limitTimeEnd,dateCode,tableType,System.currentTimeMillis() / 1000);
    }
}
